package modules.hero
{
	import flash.system.ApplicationDomain;
	
	import modules.hero.view.HeroModuleMediator;
	import modules.hero.view.component.HeroModule;
	
	import org.robotlegs.core.IInjector;
	import org.robotlegs.utilities.modular.mvcs.StarlingModuleSignalContext;
	
	import starling.display.DisplayObjectContainer;
	
	public class HeroContext extends StarlingModuleSignalContext
	{
		public function HeroContext(contextView:DisplayObjectContainer=null, parentInjector:IInjector=null, applicationDomain:ApplicationDomain=null)
		{
			super(contextView, true, parentInjector, applicationDomain);
		}
		
		override public function startup():void
		{
			mediatorMap.mapView(HeroModule, HeroModuleMediator);
			super.startup();
		}
	}
}